<script>
	function confirmPassword() {
		var x = document.forms["sign_form"]["sign_password"].value;
		var y = document.forms["sign_form"]["sign_cPassword"].value;
		if (x == y) {
			alert("Passwords do not match.")
			return false;
		}
	}
</script>